﻿<%@ Page Title="" Language="C#" MasterPageFile="~/TangoFamilyAndGuide.Master" AutoEventWireup="true" CodeBehind="FestivalBaja.aspx.cs" Inherits="TangoFamilyAndGuide.Site.FestivalBaja" Theme="Tango" Culture="en-GB" UICulture="en-GB" %>
<%@ Register assembly="AjaxControlToolkit" namespace="AjaxControlToolkit" tagprefix="ajaxToolkit" %>
<%@ Register TagPrefix="uc1" TagName="domicilio" Src="~/Controles/Domicilio.ascx" %>
<%@ Register TagPrefix="uc1" TagName="contacto" Src="~/Controles/Contacto.ascx" %>

<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" runat="server">
    <table border="0" cellpadding="0" cellspacing="0" style="padding-left:10px">
        <tr>
            <td align="center" colspan="2" style="padding-top:20px">
                <asp:Label ID="TituloPaginaLabel" runat="server" SkinID="TituloPagina" Text="Status of Festival"></asp:Label>
            </td>
        </tr>
        <tr>
            <td align="left" style="padding-top:5px; font-weight: bold">
                Id. <asp:Label ID="IdFestivalLabel" runat="server"></asp:Label>
            </td>
            <td align="right" style="padding-left: 10px">
                <asp:Label ID="EstadoActualLabel" runat="server" SkinID="IndicadorValidacion"></asp:Label>        
            </td>
        </tr>
        <tr>
            <td colspan="2">
                <hr noshade="noshade" size="1" color="#cccccc" />
            </td>
        </tr>
        <tr>
            <td align="left" colspan="2" style="padding-right:5px; padding-top:2px">
                <asp:Label ID="Label9" runat="server" Text="Festival" SkinID="TituloColor1Grande"></asp:Label>
            </td>
        </tr>
        <tr>
            <td align="left" colspan="2" style="padding-top:2px;">
                <asp:Label ID="NombreLabel" runat="server" Text=""></asp:Label>
            </td>        
        </tr>
        <tr>
            <td align="left" colspan="2" style="padding-top:2px;">
                <asp:Label ID="DescripcionLabel" runat="server" Text=""></asp:Label>
            </td>        
        </tr>
        <!-- Dirección -->
        <tr>
            <td align="left" colspan="2" style="padding-right:5px; padding-top:12px; vertical-align:top">
                <asp:Label ID="Label2" runat="server" Text="Address" SkinID="TituloColor1Grande"></asp:Label>
            </td>
        </tr>
        <tr>
            <td align="left" colspan="2" style="padding-top: 2px;">
                <!-- Dirección -->
                <asp:Label ID="DireccionLabel" runat="server"></asp:Label>
                <!-- Código postal -->
		        Cod.Post: <asp:Label ID="CodPostLabel" runat="server"></asp:Label>
            </td>
        </tr>
        <tr>
            <td align="left" colspan="2" style="padding-top: 2px;">
                <!-- Pais -->
		        <asp:Label ID="PaisLabel" runat="server"></asp:Label>
                <!-- Provincia -->
		        <asp:Label ID="ProvinciaLabel" runat="server"></asp:Label>
                <!-- Ciudad o Localidad -->
		        <asp:Label ID="LocalidadLabel" runat="server"></asp:Label>
            </td>
        </tr>
        <tr>
            <td align="left" colspan="2" style="padding-top: 2px;">
                <!-- Telefono -->
		        Tel: <asp:Label ID="TelefonoLabel" runat="server"></asp:Label>
            </td>
        </tr>
        <!-- Contacto -->
        <tr>
            <td align="left" colspan="2" style="padding-right:5px; padding-top:12px; vertical-align:top">
                <asp:Label ID="LabelContactoTit" runat="server" Text="Contact" SkinID="TituloColor1Grande"></asp:Label>
            </td>
        </tr>
        <tr>
            <td align="left" colspan="2" style="padding-top: 2px;">
            <!-- Nombre contacto -->
		    <asp:Label ID="NombreContactoLabel" runat="server"></asp:Label>
            <!-- Mail Contacto -->
		    <asp:Label ID="EmailContactoLabel" runat="server"></asp:Label>
            </td>
        </tr>
        <tr>
            <td align="left" colspan="2" style="padding-top: 2px;">
                <!-- Teléfono contacto -->
		        Tel: <asp:Label ID="TelefonoContactoLabel" runat="server"></asp:Label>
            </td>
        </tr>
        <!-- Detalles -->
        <%if (MonedaEntradaLabel.Text != "" || ComentarioEntradaLabel.Text != "" || BailarinesLabel.Text != "")
          {%>
        <tr>
            <td align="left" colspan="2" style="padding-right:5px; padding-top:12px; vertical-align:top">
                <asp:Label ID="Label6" runat="server" Text="Details" SkinID="TituloColor1Grande"></asp:Label>
            </td>
        </tr>
        <%} %>
        <%if (MonedaEntradaLabel.Text != "")
          {%>
        <tr>
	        <td align="left" colspan="2" style="padding-right:5px; padding-top:5px">
		        Ticket: <asp:Label ID="MonedaEntradaLabel" runat="server" Text="Precio Ticket"></asp:Label>
                <asp:Label ID="PrecioEntradaLabel" runat="server"></asp:Label>
	        </td>
        </tr>
        <%} %>
        <%if (ComentarioEntradaLabel.Text != "")
          {%>
        <tr>
            <td align="left" colspan="2" style="padding-top:5px" valign="top">
                Info. Ticket: <asp:Label ID="ComentarioEntradaLabel" runat="server"></asp:Label>
            </td>
        </tr>
        <%} %>
        <%if (ComentariosLabel.Text != "")
          {%>
        <tr>
            <td align="left" style="padding-top: 5px" valign="top">
                Additional Information: <asp:Label ID="ComentariosLabel" runat="server"></asp:Label>
            </td>
        </tr>
        <%} %>
            <%if (BailarinesLabel.Text != "")
        {%>
        <tr>
            <td align="left" style="padding-top:5px" valign="top">
                Dancers: <asp:Label ID="BailarinesLabel" runat="server"></asp:Label>
            </td>
        </tr>
        <%} %>
        <!-- Info.Web -->
        <%if (WebSiteLabel.Text != "" || EmailLabel.Text != "" || FacebookLabel.Text != "" || GoogleMapLabel.Text != "")
          {%>
        <tr>
            <td align="left" colspan="2" style="padding-right:5px; padding-top:12px; vertical-align:top">
                <asp:Label ID="Label3" runat="server" Text="Info.Web" SkinID="TituloColor1Grande"></asp:Label>
            </td>
        </tr>
        <%} %>
        <%if (WebSiteLabel.Text != "")
          {%>
        <tr>
            <td align="left" colspan="2" style="padding-top:5px" valign="top">
                Web Site: <asp:Label ID="WebSiteLabel" runat="server"></asp:Label>
            </td>
        </tr>
        <%} %>
        <%if (EmailLabel.Text != "")
          {%>
        <tr>
            <td align="left" colspan="2" style="padding-top: 5px" valign="top">
                E-mail:
                <asp:Label ID="EmailLabel" runat="server"></asp:Label>
            </td>
        </tr>
        <%} %>
        <%if (FacebookLabel.Text != "")
          {%>
        <tr>
            <td align="left" colspan="2" style="padding-top: 5px" valign="top">
                Facebook Address: <asp:Label ID="FacebookLabel" runat="server"></asp:Label>
            </td>
        </tr>
        <%} %>
        <%if (GoogleMapLabel.Text != "")
          {%>
        <tr>
            <td align="left" colspan="2" style="padding-top: 5px" valign="top">
                GoogleMap Address: <asp:Label ID="GoogleMapLabel" runat="server"></asp:Label>
            </td>
        </tr>
        <%} %>
        <!-- Horarios -->
        <tr>
            <td align="left" colspan="2" style="padding-right:5px; padding-top:12px; vertical-align:top">
                <asp:Label ID="Label4" runat="server" Text="Schedules" SkinID="TituloColor1Grande"></asp:Label>
            </td>
        </tr>
        <tr>
            <td align="left" colspan="2" style="padding-top:5px" valign="top">
                <asp:Label ID="HorariosVacioLabel" runat="server" Text="No schedules defined" Visible="false"></asp:Label>
                <asp:Panel ID="PanelgvEG" runat="server">
                <asp:GridView ID="gvEG" runat="server" AutoGenerateColumns="False" CssClass="grid"
                    AlternatingRowStyle-CssClass="gridAltRow" RowStyle-CssClass="gridRow" ShowFooter="false"
                    EditRowStyle-CssClass="gridEditRow" FooterStyle-CssClass="gridFooterRow"
                    DataKeyNames="CodigoDiaSemDesde,CodigoDiaSemHasta">
                    <Columns>
                        <asp:TemplateField HeaderText="From the day" HeaderStyle-HorizontalAlign="Left" ItemStyle-VerticalAlign="Top">
                            <ItemTemplate>
                                <%# Eval("DescrDiaSemDesde")%>
                            </ItemTemplate>
                        </asp:TemplateField>
                        <asp:TemplateField HeaderText="Until the day" HeaderStyle-HorizontalAlign="Left" ItemStyle-VerticalAlign="Top">
                            <ItemTemplate>
                                <%# Eval("DescrDiaSemHasta")%>
                            </ItemTemplate>
                        </asp:TemplateField>
                        <asp:TemplateField HeaderText="Opening time" HeaderStyle-HorizontalAlign="Left" ItemStyle-Width="50px" ItemStyle-VerticalAlign="Top">
                            <ItemTemplate>
                                <%# Eval("HorarioDesde")%>
                            </ItemTemplate>
                        </asp:TemplateField>
                        <asp:TemplateField HeaderText="Closing time" HeaderStyle-HorizontalAlign="Left" ItemStyle-Width="50px" ItemStyle-VerticalAlign="Top">
                            <ItemTemplate>
                                <%# Eval("HorarioHasta")%>
                            </ItemTemplate>
                        </asp:TemplateField>
                        <asp:TemplateField HeaderText="Comment" HeaderStyle-HorizontalAlign="Left" ItemStyle-Width="100px" ItemStyle-VerticalAlign="Top">
                            <ItemTemplate>
                                <asp:Label ID="comentarioLabel" runat="server" Text='<%# Eval("Comentario")%>' Width="100px"></asp:Label>
                            </ItemTemplate>
                        </asp:TemplateField>
                        <asp:TemplateField HeaderText="Active" ItemStyle-VerticalAlign="Top">
                            <ItemTemplate>
                                <asp:Label ID="lblActivo" runat="server" Text='<%# Eval("Activo") %>'></asp:Label>
                            </ItemTemplate>
                        </asp:TemplateField>
                    </Columns>
                    <EmptyDataTemplate>
                        <table class="grid" cellspacing="0" rules="all" border="1" id="gvEG" style="border-collapse: collapse;">
                            <tr>
                                <th align="left" scope="col">
                                    From the day
                                </th>
                                <th align="left" scope="col">
                                    Until the day
                                </th>
                                <th align="left" scope="col">
                                    Opening time
                                </th>
                                <th align="left" scope="col">
                                    Closing time
                                </th>
                                <th align="left" scope="col">
                                    Comment
                                </th>
                                <th scope="col">
                                    Active
                                </th>
                            </tr>
                            <tr class="gridRow">
                                <td colspan="6">
                                    No Records found...
                                </td>
                            </tr>
                        </table>
                    </EmptyDataTemplate>
                </asp:GridView>
                </asp:Panel>
            </td>
        </tr>
        <!-- Imagenes -->
        <tr>
            <td align="left" colspan="2" style="padding-right:5px; padding-top:12px; vertical-align:top">
                <asp:Label ID="Label5" runat="server" Text="Imagenes" SkinID="TituloColor1Grande"></asp:Label>
            </td>
        </tr>
        <tr>
            <td colspan="2" >
                <table border="0" cellpadding="0" cellspacing="0" style="padding-left:0px">
                    <tr>
                        <td align="left" style="padding-right: 5px; padding-top: 5px">
                            <asp:Label ID="ImagenPortadaLabel" runat="server" Text="Main Photo"></asp:Label>
                        </td>
                        <td align="left" style="padding-right: 5px; padding-top: 5px">
                            <asp:Label ID="Imagen1Label" runat="server" Text="Image 1"></asp:Label>
                        </td>
                        <td align="left" style="padding-right: 5px; padding-top: 5px">
                            <asp:Label ID="Imagen2Label" runat="server" Text="Image 2"></asp:Label>
                        </td>
                        <td align="left" style="padding-right: 5px; padding-top: 5px">
                            <asp:Label ID="Imagen3Label" runat="server" Text="Image 3"></asp:Label>
                        </td>
                    </tr>
                    <tr>
                        <td align="left" style="padding-right:25px; padding-top:5px; vertical-align:top">
                           <a id="linkPortada" runat="server" href="Imagenes/Interrogacion.jpg" target="_blank">
                               <asp:Image ID="ImagePortada" runat="server" BorderStyle="Solid" BorderWidth="1px"
                                   BorderColor="#cccccc" ImageUrl="~/Imagenes/Interrogacion.jpg" Width="90px" />
                           </a>
                        </td>
			            <td align="left" style="padding-right:25px; padding-top:5px; vertical-align:top">
                            <a id="linkImage1" runat="server" href="Imagenes/Interrogacion.jpg" target="_blank">
                                <asp:Image ID="Image1" runat="server" BorderStyle="Solid" BorderWidth="1px" BorderColor="#cccccc"
                                    ImageUrl="~/Imagenes/Interrogacion.jpg" Width="90px" />
                            </a>
			            </td>
	                    <td align="left" style="padding-right:25px; padding-top:5px; vertical-align:top">
                            <a id="linkImage2" runat="server" href="Imagenes/Interrogacion.jpg" target="_blank">
                                <asp:Image ID="Image2" runat="server" BorderStyle="Solid" BorderWidth="1px" BorderColor="#cccccc"
                                    ImageUrl="~/Imagenes/Interrogacion.jpg" Width="90px" />
                            </a>
	                    </td>
			            <td align="left" style="padding-right:25px; padding-top:5px; vertical-align:top">
                            <a id="linkImage3" runat="server" href="Imagenes/Interrogacion.jpg" target="_blank">
                                <asp:Image ID="Image3" runat="server" BorderStyle="Solid" BorderWidth="1px" BorderColor="#cccccc"
                                    ImageUrl="~/Imagenes/Interrogacion.jpg" Width="90px" />
                            </a>
			            </td>
                    </tr>
                </table>
            </td>
        </tr>
        <tr>
            <td align="left" colspan="2" style="height: 24px; padding-top:20px">
                <asp:Button ID="AceptarButton" runat="server" TabIndex="503" Text="Accept" onclick="AceptarButton_Click" />
                <asp:Button ID="SalirButton" runat="server" CausesValidation="false" TabIndex="504" Text="Exit" PostBackUrl="~/Home.aspx" />
                <input type="button" value="Go back" name="Volver" onclick="history.back()" />
            </td>
        </tr>
        <tr>
            <td align="center" colspan="2" style="padding-top:20px">
                <asp:Label ID="MensajeLabel" runat="server" SkinID="MensajePagina" Text=""></asp:Label>
            </td>
        </tr>
    </table>
</asp:Content>
